package org.jeecg.modules.contract.pattern.vo;

import java.util.List;
import org.jeecg.modules.contract.pattern.entity.ErpGoodsPattern;
import org.jeecg.modules.contract.pattern.entity.ErpGoodsPatternDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 版样更改管理
 * @Author: jeecg-boot
 * @Date:   2024-05-27
 * @Version: V1.0
 */
@Data
@ApiModel(value="erp_goods_patternPage对象", description="版样更改管理")
public class ErpGoodsPatternPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**编号*/
	@Excel(name = "编号", width = 15)
	@ApiModelProperty(value = "编号")
    private String code;
	/**物料id*/
	@Excel(name = "物料id", width = 15)
	@ApiModelProperty(value = "物料id")
    private String materielId;
	/**标识*/
	@Excel(name = "标识", width = 15)
	@ApiModelProperty(value = "标识")
    private String mark;
	/**年份(2位)*/
	@Excel(name = "年份(2位)", width = 15)
	@ApiModelProperty(value = "年份(2位)")
    private String year;
	/**排产单号(4位)*/
	@Excel(name = "排产单号(4位)", width = 15)
	@ApiModelProperty(value = "排产单号(4位)")
    private String orderNumber;
	/**包装形式(1位)*/
	@Excel(name = "包装形式(1位)", width = 15)
	@ApiModelProperty(value = "包装形式(1位)")
    private String packaType;
	/**包装规格(2位)*/
	@Excel(name = "包装规格(2位)", width = 15)
	@ApiModelProperty(value = "包装规格(2位)")
    private String packSpec;
	/**版本号(2位)*/
	@Excel(name = "版本号(2位)", width = 15)
	@ApiModelProperty(value = "版本号(2位)")
    private String version;
	/**改版内容*/
	@Excel(name = "改版内容", width = 15)
	@ApiModelProperty(value = "改版内容")
    private String revisedContent;
	/**改版时间*/
	@Excel(name = "改版时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "改版时间")
    private Date revisedTime;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

	@ExcelCollection(name="版样更改管理明细")
	@ApiModelProperty(value = "版样更改管理明细")
	private List<ErpGoodsPatternDetail> erpGoodsPatternDetailList;


	private String goodsCode;

	private String goodsName;

	private String goodsSpec;
}
